package cn.edu.scau.cmi.linzhanyi.adapter;

public class ChargeVoltmeter {
    public static void main(String[] args) {
        ChargeVoltage chargeVoltage = new AdapterOfVoltage_HtoC();
        System.out.println(chargeVoltage.getClass()+"充电电压："+chargeVoltage.getChargeVoltage());
        ChargeVoltage chargeVoltage1 = new AdapterOfVoltage_LtoC();
        System.out.println(chargeVoltage1.getClass()+"充电电压："+chargeVoltage1.getChargeVoltage());
    }
}
